all: server.h server.cpp server_sh.cpp
	g++ -c server.cpp
	g++ -c server_sh.cpp
	g++ -o server_shell server.o server_sh.o -lpthread

.PHONY: clean run
clean:
	rm -f server.o server_sh.o server_shell

run:
	make clean
	make all
	./server_shell jovi_server
